<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/init.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<jsp:include page="/WEB-INF/jsp/common/common.jsp" />
	<script type="text/javascript">
	
		function Set(course_id){
			$("input[name='course_id']").val(course_id);
			var url = "${path}/ix/course/user/set.htm";
			$("#form1").attr("action",url);
			$("#form1").submit();
		}
		
	</script>
</head>
<body>
	<jsp:include page="/WEB-INF/jsp_lib/tip.jsp" />
	<div>
		<form action="${path}/ix/course/user/list.htm" id="form1" method="post">
			<input type="hidden" name="user_id" />
			
			<h2>
				<div>课程管理</div>
			</h2>
			<div class="query">
				<table width="100%" border="0" align="center" cellpadding="0" cellspacing="5">
					<tr>
						<td width="50" align="right">
							<strong>课程：</strong>
						</td>
						<td width="200" align="left">
							<input name="srh_name" type="text" /> 
						</td>
						<td align="left">
							<a href="javascript:query();">
								<img src="${path}/style_cp/img/query.jpg" name="Image4" width="85" height="27" border="0" id="Image4" /> 
							</a>
						</td>
					</tr>
				</table>
			</div>
				
			<table width="100%" class="listlindex">
				<tr>
					<th>课程</th>
					<th>开设时间</th>
					<th>操作</th>
				</tr>
				<c:if test="${fn:length(courseList)==0}">
					<tr>
						<td colspan="3"><div class="tip_div">暂无记录.</div></td>
					</tr>
				</c:if>
				<c:forEach items="${courseList}" var="v">
				<tr>
					<td>${v.name}</td>
					<td>${v.setup_date}</td>
					<td>
						 <a href="javascript:Set()">【选择】</a>
					</td>
				</tr>
				</c:forEach>
			</table>
			<div class="options">
				<div class="quotes">
					<page:page page="${page}" />
				</div>
				<div class="clear"></div>
			</div>
		
		</form>	
	</div>
</body>
</html>
